/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package fr.ove.openmath.jome.model.events;

/**
 *
 * @author Mr.Sam
 */
import java.util.EventListener;
import fr.ove.openmath.jome.model.events.ModelEvent;

/**
* The interface that an object which want to be alerted of the changes of the model
* must implement.
*
* @author © 1998 DIRAT Laurent
* @version 1.0  09/07/98
*/
public interface ModelListener extends EventListener {
    /**
    * Consumes (i.e. treats) the event received from the model.
    * @param modelEvent the event to consume.
    */
    public void consumeModelEvent(ModelEvent modelEvent);
}
